package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ConnectionObject {

    private int beginIndex;
    private int endIndex;
    private boolean default_;
    private SimpleValueSpecification connectionName;

    public ConnectionObject(int beginIndex,
                            int endIndex,
                            boolean default_,
                            SimpleValueSpecification connectionName) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.default_ = default_;
        this.connectionName = connectionName;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isDefault() {
        return default_;
    }

    public SimpleValueSpecification getConnectionName() {
        return connectionName;
    }

}
